package com.heima.wemedia;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.junit.jupiter.api.Test;

import java.io.IOException;

public class JsipDome {
    @Test
    public void jsop() throws IOException {
       //  获取该网页document文档数据
        Document document = Jsoup.connect("https://3g.163.com/touch/news/sub/history/?ver=c&clickfrom=index2018_header_main")
                .header("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36")
                .get();

    }
}
